package com.example.utils;

public class Message {

    private Long orderId;
    private String status;

    private String source;
    public Message(){}

    public Message(Long orderId, String status) {
        this.orderId = orderId;
        this.status = status;
    }


    public Message(Long orderId, String status, String source) {
        this.orderId = orderId;
        this.status = status;
        this.source = source;
    }


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }


    @Override
    public String toString() {
        return "Message{" +
                "orderId=" + orderId +
                ", status='" + status + '\'' +
                ", source='" + source + '\'' +
                '}';
    }
}
